package com.hsd.stu;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class Student {
    private String name;
    private int age;
    private List<String> hobby;
    private Set<Book> books;
    private Map<String,Book> inter;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public List<String> getHobby() {
        return hobby;
    }

    public void setHobby(List<String> hobby) {
        this.hobby = hobby;
    }

    public Set<Book> getBooks() {
        return books;
    }

    public void setBooks(Set<Book> books) {
        this.books = books;
    }

    public Map<String, Book> getInter() {
        return inter;
    }

    public void setInter(Map<String, Book> inter) {
        this.inter = inter;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", hobby=" + hobby +
                ", books=" + books +
                ", inter=" + inter +
                '}';
    }
}
